let mock = require("mockjs")
//网络延迟 增加用户体验
Mock.setup({
    time:'600'
})
// 拓展mockjs 封装获取电话
Mock.Random.extend({
    phone: function () {
      var phonePrefixs = ['132', '135', '189','176'] // 自己写前缀哈
      return this.pick(phonePrefixs) + Mock.mock(/\d{8}/) //Number()
    }
})